package com.bj58.ecdata.dbconnectionpool;

import java.sql.Connection;
import java.util.Date;

public class MyConnection
{
  private Connection conn;
  private int state;
  private Date lastTime;
  
  public void setConn(Connection conn)
  {
    this.conn = conn;
  }
  
  public Connection getConn()
  {
    return this.conn;
  }
  
  public void setState(int state)
  {
    this.state = state;
  }
  
  public int getState()
  {
    return this.state;
  }
  
  public void setLastTime(Date lastTime)
  {
    this.lastTime = lastTime;
  }
  
  public Date getLastTime()
  {
    return this.lastTime;
  }
}
